import focus from '@/directives/focus/index.js'
import hasRole from "@/directives/hasRole/index.js";
import hasPerm from "@/directives/hasPerm/index.js";

const directives = {
    focus,
    hasRole,
    hasPerm
}
export default {
    install(app) {
        Object.keys(directives).forEach(item => {
            app.directive(item, directives[item])
        })
    }
}
